package com.woniuxy.oa.service;

import com.woniuxy.oa.entity.Signin;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Mr X
 */
public interface SigninService {
    /**
     * 增加打卡记录
     *
     * @param signin
     */
    public void add(Signin signin);

    /**
     * 通过员工ID查询打卡记录
     *
     * @param empid
     * @return
     */
    public List<Signin> getByEmpId(String empid);
}
